package com.hong.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author csh
 * @Description
 * @Date 2018/9/13 22:03
 */
public class InMessage implements Serializable {
//    从哪里来
    private String from;
//  到哪里云
    private String to;
//内容
    private String content;
//时间
    private Date time;

    public InMessage() {
    }

    public InMessage(String content) {
        this.content = content;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
